package cn.edu.usst.cs.goldfish.booking.meetingroom.handler;

public class GoldfishBookingAuthException extends RuntimeException {
    public GoldfishBookingAuthException() {
    }

    public GoldfishBookingAuthException(String message) {
        super(message);
    }

    public GoldfishBookingAuthException(String message, Throwable cause) {
        super(message, cause);
    }

    public GoldfishBookingAuthException(Throwable cause) {
        super(cause);
    }

    public GoldfishBookingAuthException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
    public static void build(String message){
        throw new GoldfishBookingAuthException(message);
    }
    public static void build(String message, Throwable cause){
        throw new GoldfishBookingAuthException(message, cause);
    }
} 